package com.mengdee.manage.validator;

import org.hibernate.validator.constraints.NotBlank;

public class UserDetail {
	
	private Long id;
	
	@NotBlank
	private String address;
	
	@NotBlank
	private String company;
	
	@NotBlank
	@Phone
	private String phone;
	
	
	
	
	public UserDetail() {

	}
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}


	public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	
	
	
}
